package com.xiyu.service.vo.office.building;

import com.xiyu.service.vo.office.building.baseVO.OfficeBuildingBase;
import com.xiyu.service.vo.office.building.baseVO.OfficeBuildingUnitBase;
import com.xiyu.service.vo.office.building.baseVO.OfficeBuildingFloorBase;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;

import jakarta.validation.Valid;
import com.xiyu.service.enums.common.CommonStatusEnum;
import com.xiyu.service.framework.validation.InEnum;

@Schema(description = "获取单个办公楼")
@Data
public class BuildingSingleGetOutput extends OfficeBuildingBase {

    @Schema(description = "办公楼楼层")
    @Valid
    private List<buildingFloor> buildingFloors;

    @Schema(description = "办公楼单元")
    @Valid
    private List<buildingUnit> buildingUnits;

    @Schema(description = "办公楼主键ID")
    private Long id;

    @Schema(description = "办公楼楼层")
    @Data
    public static class buildingFloor extends OfficeBuildingFloorBase {

        @Schema(description = "办公楼楼层主键ID")
        private Long id;
    }

    @Schema(description = "办公楼单元")
    @Data
    public static class buildingUnit extends OfficeBuildingUnitBase {

        @Schema(description = "办公楼单元主键ID")
        private Long id;
    }
}